package com.yh.config;


import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration //声明该类为配置类，相当于spring的配置文件
//    <context:component-scan base-package="com.yh.dao,com.yh.service"></context:component-scan>
@ComponentScan("com.yh")
@Import(JDBCConfig.class)
public class SpringConfig {
}
